package com.hundsun.yr.universal.p2p.bean;

import java.io.Serializable;

import com.hundsun.yr.universal.library.utils.HsDateUtils;

public class NoticePojos extends ResponseBean implements Serializable{
	private static final long serialVersionUID = 1L;
	/**
	 * 取值的key
	 */
	public static String BASEKEY = "noticePojos";
	private String content;
	private Long createTime;
	private String ifTop;
	private String issuer;
	private String noticeId;
	private String terminal;
	private String title;
	private String type;
	private Long updateTime;
	
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Long getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}
	public String getIfTop() {
		return ifTop;
	}
	public void setIfTop(String ifTop) {
		this.ifTop = ifTop;
	}
	public String getIssuer() {
		return issuer;
	}
	public void setIssuer(String issuer) {
		this.issuer = issuer;
	}
	public String getNoticeId() {
		return noticeId;
	}
	public void setNoticeId(String noticeId) {
		this.noticeId = noticeId;
	}
	public String getTerminal() {
		return terminal;
	}
	public void setTerminal(String terminal) {
		this.terminal = terminal;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Long getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 格式化时间  yyyy-MM-dd
	 * @return
	 */
	public String getFormatDate() {
		return HsDateUtils.timeformat(HsDateUtils.farmat_date_3, createTime);
	}
	
//	/**
//	 * 是否已阅读
//	 * @return
//	 */
//	public boolean isRead(){
//		
//		if(TextUtils.equals(status, "UNREAD")){
//			return false;
//		}else{
//			return true;
//		}
//		
//	}
	
}
